class A { static *gen(v) { yield v; }}